
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>layui</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chorme=1">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="../../../layui/css/layui.css" media="all">
<script type="text/javascript" src="../../../layui/jquery-3.2.1.min.js"></script>


</head>
<body>
	<fieldset class="layui-elem-field layui-field-title"
		style="margin-top: 20px;">
		<legend>汇缴清册信息编辑</legend>
	</fieldset>


	<form class="layui-form" action="">
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">姓名:</label>
				<div class="layui-input-inline">
					<input type="text" name="XINGMING" id="XINGMING" readonly="readonly" autocomplete="off"
						class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">证件号码:</label>
				<div class="layui-input-inline">
					<input type="text" name="ZJHM" id="ZJHM" readonly="readonly" autocomplete="off"
						class="layui-input">
				</div>
			</div>


			<div class="layui-inline">
				<label class="layui-form-label">手机号码:</label>
				<div class="layui-input-inline">
					<input type="text" name="SJHM" id="SJHM" readonly="readonly" autocomplete="off"
						class="layui-input">
				</div>
			</div>
		</div>

		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">个人缴存基数:</label>
				<div class="layui-input-inline">
					<input type="text" name="GRJCJS" id="GRJCJS" readonly="readonly" autocomplete="off"
						class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">个人缴存比例:</label>
				<div class="layui-input-inline">
					<input type="text" name="GRJCBL" id="GRJCBL" readonly="readonly" autocomplete="off"
						class="layui-input">
				</div>
			</div>


			<div class="layui-inline">
				<label class="layui-form-label">单位缴存比例:</label>
				<div class="layui-input-inline">
					<input type="text" name="DWJCBl" id="DWJCBl" readonly="readonly" autocomplete="off"
						class="layui-input">
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">个人账号:</label>
				<div class="layui-input-inline">
					<input type="text" name="GRZH" id="GRZH" readonly="readonly" autocomplete="off"
						class="layui-input">
				</div>
			</div>
			
		</div>
	</form>


	<script type="text/javascript">
		window.onload = function getUser() {
		    function getPath(){
			return 'http://'+location.host;
		    };
			$.ajax({
				url : getPath()+'/wsyyt/dwbjhjqccontroller/bj',
				method : 'post',
				dataType : 'JSON',
				success : function(result) {

					var data = result.data;
					$.each(data[0], function(key, value) {
						$("#" + key).val(value || "");
					});
				},
			});
			$.ajax({
				url : getPath()+'/wsyyt/dwxxbgcontroller/test1',
				method : 'post',
				dataType : 'JSON',
				success : function(result) {
					var data = result.data;
					$.each(data[0], function(key, value) {
						$("#" + key + "1").val(value || "");
					});

				},

			});
			
			$("#cx").click(function() {
				table.reload('testReload', {
					url : getPath()+'/wsyyt/dwryxxcontroller/test',
					where : {
						'XM' : $("#YB").val(),
						'SFZH' : $("#SFZH").val(),
						'yj' : $("#yj").val(),
						'wj' : $("#wj").val(),
						'tj' : $("#tj").val()
					}
				//设定异步数据接的额外参数
				});
			});
		}
	</script>
</body>
</html>